var alert = document.getElementsByClassName("alert")[0];
	var alert1 = alert.getElementsByClassName("alert1")[0];
	var alert3 = alert.getElementsByClassName("alert3")[0];
function father(){
	var open =true;
	var quan = document.getElementsByClassName("rent-quan")[0];
	var btns = document.getElementsByClassName("rent_title")[0];
	
	btns.addEventListener("click",function(){
		if(open==true){
			quan.style.display="block";
			quan.classList.add("show");
			open=false;
			}
		else if(open==false){
			alert.style.display="block";
			alert3.style.display="block";
		}
		});
	
	
	quan.addEventListener("click",function(){
			quan.style.display="none";
			quan.classList.remove("show");
			alert.style.display="block";
			alert1.style.display="block";
		});
}
father();
function openbtn1(){
	alert.style.display="none";
	alert1.style.display="none";
			}
function openbtn3(){
	alert.style.display="none";
	alert3.style.display="none";
	}